Object.defineProperty(exports, "__esModule", {
    value: !0
}), exports.default = {
    addTo: function(e) {
        var t = void 0, a = !1;
        wx.canIUse && (a = wx.canIUse("button.open-type.share")), e.setData({
            canShare: a
        }), e.hideShareTip = function() {
            this.setData({
                shareTipShown: !1
            });
        }, e.showShareTip = function() {
            var e = this;
            this.setData({
                shareTipShown: !0
            }), clearTimeout(t), t = setTimeout(function() {
                e.hideShareTip();
            }, 1500);
        };
    }
};